import request from '@/util/request'
export const bookIndexList = ()=>request.get('/user/list')
export const bookSelectIndexList=(params)=>{
    return  request.get('/user/page',{params})
    }
export const bookAdd=(data)=>{
        return  request.post('/user/add',data)
    }
export const bookUpdate=(data)=>{
        return  request.post('/user/update',data)
    }
export const bookDelete=(id)=>{
        return request.delete('/user/delete',{ params: { id } })
}
    

